projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
280ec6c
)
(child_setup): Test PRIO_PROCESS, as in sys_subshell.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 28 Apr 1994 05:44:54 +0000
(
05:44
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 28 Apr 1994 05:44:54 +0000
(
05:44
+0000)
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index 9836b65f529af342dd84271e27e0400b7f3ab3d4..d612a7f94c163ce60b52b853645b071c6e6308fc 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-558,11
+558,13
@@
child_setup (in, out, err, new_argv, set_pgrp, current_dir)
int pid = getpid ();
+#ifdef PRIO_PROCESS
{
extern int emacs_priority;
nice (- emacs_priority);
}
+#endif
#ifdef subprocesses
/* Close Emacs's descriptors that this process should not have. */